<html>
  <head>
    <title>DataSourceQuery</title>
    <link rel='stylesheet' type='text/css' href='../../stylesheet.css' title='Style' />
  </head>
  <body>
    <table border='0' width='100%' cellpadding='1' cellspacing='0' summary=''>
      <tr>
        <td colspan='2' bgcolor='#EEEEFF' class='NavBarCell1'>
          <table border='0' cellpadding='0' cellspacing='3' summary=''>
            <tr align='center' valign='top'>
              <td bgcolor='#EEEEFF' class='NavBarCell1'>
                <a href='../../overview-summary.html'>
                  <font class='NavBarFont1'>
                    <b>Overview</b>
                  </font>
                </a>&nbsp;
              </td>
              <td bgcolor='#EEEEFF' class='NavBarCell1'>
                <a href='package-summary.html'>
                  <font class='NavBarFont1'>
                    <b>Package</b>
                  </font>
                </a>&nbsp;
              </td>
              <td bgcolor='#FFFFFF' class='NavBarCell1Rev'>
                <font class='NavBarFont1Rev'>
                  <b>Unit</b>
                </font>&nbsp;
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    <hr />
    <h2>
      <font size='-1'>OpenEdge\DataSource</font>
      <br />CLASS DataSourceQuery
    </h2>
    <p>CLASS OpenEdge.DataSource.DataSourceQuery INHERITS <a href="../../OpenEdge/Core/System/Query.cls.html" title="OpenEdge.Core.System.Query" target="classFrame">Query</a> IMPLEMENTS <a href="../../OpenEdge/Core/System/ITableOwner.cls.html" title="OpenEdge.Core.System.ITableOwner" target="classFrame">ITableOwner</a> </p>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
				<A NAME="property_summary"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
				<B>Property Summary</B></FONT></TH>
				</TR>
				
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>HANDLE</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.ABLDataSource'>ABLDataSource</a>
          </b> PUBLIC GET SET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The handle to the ABL DATA-SOURCE object that this query operates against.
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code><a href="../../OpenEdge/Lang/Collections/IMap.cls.html" title="OpenEdge.Lang.Collections.IMap" target="classFrame">IMap</a></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.SourceKeyFilters'>SourceKeyFilters</a>
          </b> PUBLIC GET PRIVATE SET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A collection of QueryFilter objects that act as tokens for the key fields
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code><a href="../../OpenEdge/Lang/Collections/IMap.cls.html" title="OpenEdge.Lang.Collections.IMap" target="classFrame">IMap</a></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.TenantFilters'>TenantFilters</a>
          </b> PUBLIC GET PRIVATE SET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A collection of QueryFilter objects that indicate the tenant filters in the datasource buffers.
      </td>
    </tr>
				</TABLE>&nbsp;<P>
				
				<A NAME="method_summary"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
				<B>Method Summary</B></FONT></TH>
				</TR>
				
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#()'>CONSTRUCTOR </a>
          </b>()
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#(handle)'>CONSTRUCTOR </a>
          </b>(HANDLE phDataSource)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#addkeyfilters(handle,character)'> AddKeyFilters</a>
          </b>(HANDLE phBuffer, CHARACTER pcKeys)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and stores query filters for the datasource buffers' keys.
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#addtenantfilter(openedge.core.system.queryfilter)'> AddTenantFilter</a>
          </b>(<a href="../../OpenEdge/Core/System/QueryFilter.cls.html" title="OpenEdge.Core.System.QueryFilter" target="classFrame">QueryFilter</a> poFilter)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>HANDLE</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#getbufferbuffer(character)'> GetBufferBuffer</a>
          </b>(CHARACTER pcBufferName)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>CHARACTER</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#getbuffertablename(character)'> GetBufferTableName</a>
          </b>(CHARACTER pcBufferName)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>HANDLE</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#getquerybuffer(character,character)'> GetQueryBuffer</a>
          </b>(CHARACTER pcTableName, CHARACTER pcBufferName)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>HANDLE</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#gettablebuffer(character)'> GetTableBuffer</a>
          </b>(CHARACTER pcTableName)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>HANDLE</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#gettablehandle(character)'> GetTableHandle</a>
          </b>(CHARACTER pcTableName)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#initialize()'> Initialize</a>
          </b>()
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#parsedatasource()'> ParseDataSource</a>
          </b>()
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#prepare(openedge.commoninfrastructure.common.servicemessage.servicemessageactionenum)'> Prepare</a>
          </b>(<a href="../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/ServiceMessageActionEnum.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.ServiceMessageActionEnum" target="classFrame">ServiceMessageActionEnum</a> poAction)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#removetenantfilter(character)'> RemoveTenantFilter</a>
          </b>(CHARACTER pcBufferName)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
				</TABLE>&nbsp;<P>
				
				<A NAME="property_detail"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
				<B>Property Detail</B></FONT></TH>
				</TR></TABLE>
				
    <a name='property.ABLDataSource'><!-- --></a>
    <h3>ABLDataSource</h3>
    <code>HANDLE PUBLIC GET SET </code>
    <dl>
      <dd>The handle to the ABL DATA-SOURCE object that this query operates against. <p> </dd>
      <dd>A case can be made for an OE.DataSource.ABLDatasource that contains the DataSourceQuery and a HANDLE property (ie not held here). </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='property.SourceKeyFilters'><!-- --></a>
    <h3>SourceKeyFilters</h3>
    <code><a href="../../OpenEdge/Lang/Collections/IMap.cls.html" title="OpenEdge.Lang.Collections.IMap" target="classFrame">IMap</a> PUBLIC GET PRIVATE SET </code>
    <dl>
      <dd>A collection of QueryFilter objects that act as tokens for the key fields <p> </dd>
      <dd>in the datasource buffers. These filters are used when saving rows, where the values are used to identify the DB rows uniquely. </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='property.TenantFilters'><!-- --></a>
    <h3>TenantFilters</h3>
    <code><a href="../../OpenEdge/Lang/Collections/IMap.cls.html" title="OpenEdge.Lang.Collections.IMap" target="classFrame">IMap</a> PUBLIC GET PRIVATE SET </code>
    <dl>
      <dd>A collection of QueryFilter objects that indicate the tenant filters in the datasource buffers. <p> </dd>
      <dd>These filters are used when saving rows, where the values are used to identify the DB rows uniquely. </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
				<A NAME="method_detail"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
				<B>Method Detail</B></FONT></TH>
				</TR></TABLE>
				
    <a name='()'><!-- --></a>
    <h3>CONSTRUCTOR</h3>
    <code>PUBLIC  
      <b>CONSTRUCTOR</b>()
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='(handle)'><!-- --></a>
    <h3>CONSTRUCTOR</h3>
    <code>PUBLIC  
      <b>CONSTRUCTOR</b>(HANDLE phDataSource)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='addkeyfilters(handle,character)'><!-- --></a>
    <h3>AddKeyFilters</h3>
    <code>PROTECTED  VOID
      <b>AddKeyFilters</b>(HANDLE phBuffer, CHARACTER pcKeys)
    </code>
    <dl>
      <dd>Creates and stores query filters for the datasource buffers' keys. <p> </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='addtenantfilter(openedge.core.system.queryfilter)'><!-- --></a>
    <h3>AddTenantFilter</h3>
    <code>PUBLIC  VOID
      <b>AddTenantFilter</b>(<a href="../../OpenEdge/Core/System/QueryFilter.cls.html" title="OpenEdge.Core.System.QueryFilter" target="classFrame">QueryFilter</a> poFilter)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='getbufferbuffer(character)'><!-- --></a>
    <h3>GetBufferBuffer</h3>
    <code>PROTECTED  HANDLE
      <b>GetBufferBuffer</b>(CHARACTER pcBufferName)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='getbuffertablename(character)'><!-- --></a>
    <h3>GetBufferTableName</h3>
    <code>OVERRIDE PUBLIC  CHARACTER
      <b>GetBufferTableName</b>(CHARACTER pcBufferName)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='getquerybuffer(character,character)'><!-- --></a>
    <h3>GetQueryBuffer</h3>
    <code>OVERRIDE PROTECTED  HANDLE
      <b>GetQueryBuffer</b>(CHARACTER pcTableName, CHARACTER pcBufferName)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='gettablebuffer(character)'><!-- --></a>
    <h3>GetTableBuffer</h3>
    <code>PUBLIC  HANDLE
      <b>GetTableBuffer</b>(CHARACTER pcTableName)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='gettablehandle(character)'><!-- --></a>
    <h3>GetTableHandle</h3>
    <code>PUBLIC  HANDLE
      <b>GetTableHandle</b>(CHARACTER pcTableName)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='initialize()'><!-- --></a>
    <h3>Initialize</h3>
    <code>PUBLIC  VOID
      <b>Initialize</b>()
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='parsedatasource()'><!-- --></a>
    <h3>ParseDataSource</h3>
    <code>PROTECTED  VOID
      <b>ParseDataSource</b>()
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='prepare(openedge.commoninfrastructure.common.servicemessage.servicemessageactionenum)'><!-- --></a>
    <h3>Prepare</h3>
    <code>PUBLIC  VOID
      <b>Prepare</b>(<a href="../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/ServiceMessageActionEnum.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.ServiceMessageActionEnum" target="classFrame">ServiceMessageActionEnum</a> poAction)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='removetenantfilter(character)'><!-- --></a>
    <h3>RemoveTenantFilter</h3>
    <code>PUBLIC  VOID
      <b>RemoveTenantFilter</b>(CHARACTER pcBufferName)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
  </body>
</html>